package com.wcx.application.service.Impl;

import com.wcx.application.domian.IndustriesBean;
import com.wcx.application.domian.TechnologyBean;
import com.wcx.application.mapper.IndustriesMapper;
import com.wcx.application.mapper.TechnologyMapper;
import com.wcx.application.service.IndustriesService;
import com.wcx.application.service.TechnologyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TechnologyServiceImpl implements TechnologyService {
    @Autowired
    TechnologyMapper technologyMapper;

    @Override
    public List<TechnologyBean> getList() {
        return technologyMapper.getList();
    }

    @Override
    public int update(TechnologyBean technologyBean) {
        return technologyMapper.update(technologyBean);
    }

    @Override
    public int delete(int id) {
        return technologyMapper.delete(id);
    }


    @Override
    public int create(TechnologyBean technologyBean) {
        return technologyMapper.create(technologyBean);
    }

    @Override
    public List<TechnologyBean> searchList(TechnologyBean technologyBean) {
        return technologyMapper.searchList(technologyBean);
    }



}
